﻿<%@ Page Language="C#"  EnableEventValidation="false" AutoEventWireup="true" Theme="Forms"  uiculture="auto"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


<script runat="server" >
  
    protected void Page_Load(object sender, EventArgs e)
    {

        Control content;
        if (Request.QueryString.Count != 0)
        {
            content = Page.LoadControl(@"~/controls/" + Request.QueryString[0].ToString() + ".ascx");
            lbLoaderPageTitle.Text = Request.QueryString[0].ToString().Substring(0, Request.QueryString.ToString().IndexOf("_"));
            plLoader.Controls.Add(content);
        }
    }
    
    protected override void InitializeCulture()
    {
        MyCulture.SetCulture();     
    }

    
</script>
<head runat="server">
    <title><asp:Literal runat="server" ID="lbLoaderPageTitle" /></title>
    <link rel="Stylesheet" href="App_Themes/Default/grid.css" type="text/css" />
    <script src="js/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="js/mask.js" type="text/javascript"></script>
    <script src="js/JsFarsiCalendar.js" type="text/javascript"></script>
    <script src="js/formjs.js" type="text/javascript"></script>
    <script src="js/jquery.autocomplete.js" type="text/javascript"></script>
    <script src="js/JsFarsiCalendar.js" type="text/javascript"></script>
    <script src="js/date.js" type="text/javascript"></script>
    <script src="js/calendar.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
   <div id="loader">
   <asp:PlaceHolder runat="server" ID="plLoader">
   </asp:PlaceHolder>
</div>
    </form>
</body>
</html>
